package com.yanqu.road.server.logic.system;

import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.gameplayer.module.wingroom.WingRoomChakraModule;
import com.yanqu.road.server.gameplayer.module.wingroom.WingRoomMessageModule;
import com.yanqu.road.server.gameplayer.module.wingroom.WingRoomModule;
import com.yanqu.road.server.gameplayer.module.workshop.WorkShopModule;

/**
 * @author ：zfr
 * @date ：2022/1/19 14:40
 */
public class SystemOpenWingRoom extends BaseSystemOpen {

    SystemOpenWingRoom(int systemId, GamePlayer player) {
        super(systemId, player);
    }

    @Override
    public void initSystem() {
        player.getModule(WingRoomModule.class).initSystem();
        player.getModule(WorkShopModule.class).initSystem();
        player.getModule(WingRoomMessageModule.class).initSystem();
        player.getModule(WingRoomChakraModule.class).initBaseData();
    }
}
